home *** CD-ROM | disk | FTP | other *** search
/ Zen & the Art of Resourc…The BMUG Guide to ResEdit / Zen and the Art of Resource Editing - The BMUG Guide to ResEdit (1995).iso / ResEdit 2.1.3 / Examples / PExamples / BuildLDEF < prev    next >
Text File  |  1994-07-15  |  735b  |  30 lines

  1. #ResEdit PExample
  2. #This is the script file BuildLDEF which builds the Pascal ICON LDEF example 
  3. #
  4. #    Copyright Apple Computer, Inc. 1986-1990
  5. #    All rights reserved.
  6. #
  7.  
  8. Open "{WorkSheet}"
  9.  
  10. set start `date -n`
  11. echo Building the ResEdit Pascal LDEF example
  12.  
  13. # Set the directory to the PExamples folder
  14. directory "{boot}"ResEdit:Examples:PExamples:
  15.  
  16. # Set the variable to indicate where ResEdit can be found.
  17. #  This variable is used by the make file to put the 
  18. #  example picker into ResEdit.
  19. set buildToName "{boot}ResEdit:ResEdit"
  20. Export buildToName
  21.  
  22. make -f MakeLDEF > temp
  23. temp
  24. delete temp
  25.  
  26. beep 
  27. set end `date -n`
  28. echo "        " built in `Evaluate ({end} - {start}) DIV 60` "minutes " `Evaluate ({end} - {start}) MOD 60` "seconds"
  29.  
  30.